/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package be.hogent.iii.project.xml;
/*
import be.hogent.iii.project.berichtObjecten.ChatBericht;
import org.jdom.Document;
import org.jdom.output.XMLOutputter;
*/
/**
 *
 * @author Caribou
 */
/*
public class testXML {
*/
    /**
     * @param args the command line arguments
     */
/*
    public static void main(String[] args) {
        // TODO code application logic here
        ChatBerichtXMLParser parser = new ChatBerichtXMLParser();
        ChatBericht bericht = new ChatBericht("Tim", "Testboodschap");
        Document doc = parser.ChatBerichtToXML(bericht);
        XMLOutputter outputter = new XMLOutputter();
        try{
        outputter.output(doc, System.out);
        }catch(Exception ex){
            System.out.println("Er kan niet geprint worden. ");
        }
        ChatBericht berichtje = parser.XMLToChatBericht(doc);
        System.out.println("Verzender: " + berichtje.getVerzender());
        System.out.println("Boodschap: " + berichtje.getBoodschap());
    }

}*/
